# 子类 多个父类
class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age


class Student(Person):
    def __init__(self, name, age):
        super().__init__(name, age)

    def Study(self):
        print("study")

class Teacher(Person):
    def __init__(self, name, age):
        super().__init__(name, age)

    def Teach(self):
            print("teach")


class StudentTeacher(Student, Teacher):
    def __init__(self, name, age,sex):
        super().__init__(name, age)


    def Teach(self, name):
        print("teach student")


p1 =  StudentTeacher("jack", 25,"male")

p1.Teach("ss")

print(p1)